<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>成功企业家俱乐部</title>
    <link rel="stylesheet" href="css/base.css"/>
    <style>
        img{ width:100%;}
    </style>
    <script type="text/javascript" src="js/controller/comment/jquery-1.7.2.js"></script>
    <script type="text/javascript" src="js/controller/comment/template.js"></script>
    <script>
        $(function(){
            var url=location.search;
            var Request = new Object();
            if(url.indexOf("?")!=-1){
                var str = url.substr(1);
                strs = str.split("&");
                for(var i=0;i<strs.length;i++){
                    Request[strs[i ].split("=")[0]]=unescape(strs[i].split("=")[1]);
                }
            }
            var id = Request["id"];

            $.ajax({// ../articledetail/list.do
                url:'hxclub/articledetail/byIdContent.do',
                async:false,
                type: "post",
                data:{id:id},
                dataType: "json",
                success:function(json){
                    var XHtml=template('xScr', json);
                    $('#xCont').html(XHtml);
                }
            })
        });
    </script>
</head>
<body>
    <div class="xWrap">
        <div id="xCont">
            <script id="xScr" type="text/html">
                {{each data as value i}}
                    <!--<img style="width: 100%" src="{{value.url}}" alt="图片"/>-->
                    {{#value.content}}
                {{/each}}
            </script>
        </div>
        <!--<img style="width: 100%" src="images/xb1.png" alt="图片"/>
        <img style="width: 100%" src="images/xb2.png" alt="图片"/>
        <img style="width: 100%" src="images/xb3.png" alt="图片"/>
        <img style="width: 100%" src="images/xb4.png" alt="图片"/>-->
    </div>
</body>
</html>